﻿namespace BasicModuleWebApiAuthorization.DependEntity
{
    public class Lion : IAnimal
    {
        public Rabbit Rabbit;
        public Lion(Rabbit rabbit)
        {
            this.Rabbit = rabbit;
        }

        //public Lion()
        //{

        //}

        public void Run()
        {
            Console.WriteLine("Rabbit" + this.Rabbit.GetHashCode());
            Console.WriteLine("Lion" + this.GetHashCode());
        }
    }
}
